#include<bits/stdc++.h>
using namespace std;
long double HS = 11625907.5798;
long double des = 1e-4;

int main()
{
	int len = 23333333;
	int r1 = 0;
	int r0 = 0;
	for(r0 = 0;r0<=len/2;r0++)
	{
		r1 = len - r0;
		long double ret = -1.0*r1*r1/len*log2(1.0*r1/len)-1.0*r0*r0/len*log2(1.0*r0/len);
		if(abs(HS-ret)<=des)
		{
			
			cout<<r0<<endl;
			break;
		}
	}
	return 0;
}
